package com.start.common.entity;

import com.start.common.dic.DictMapper;
import com.start.common.model.StartBaseTreeModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "BaseDictionaryItem", description = "通用字典类型")
public class StartBaseSystemDictionaryItem<T extends StartBaseTreeModel<T>> extends StartBaseTreeModel<T> {
    @Schema(name = "字典集id")
    private String dictionaryId;
    @Schema(name = "父级id")
    private String parentId;
    @DictMapper("名称")
    private String dictName;
    @DictMapper("编码")
    private String dictCode;
    @Schema(name = "排序序号")
    private Integer dictSort;
    @Schema(name = "是否有效" , description="0 无效 1有效")
    private Integer isEnable;
    @Schema(name = "字典值")
    private String dictVal;



}
